import { route_prefix } from '@/../config/routes';
import { menuConfigMap } from './menuConfigMap.js';

/**
 * @warning
 * @titlp children不是子路由,只是子导航
 * **/
export const menuConfig: any = {
  docs: {
    'VERSION 3.X': [
      {
        id: '#1',
        title: '学习',
        meta: {},
        children: [
          {
            id: '#1-1',
            title: '首页',
            path: `/${route_prefix}docs/home`,

            component: menuConfigMap.Home,
          },
          {
            id: '#1-2',
            title: '动态合并',
            path: `/${route_prefix}docs/Table_HB`,

            component: menuConfigMap.Table_HB,
          },
          {
            id: '#1-3',
            title: '横向滚动表格',
            path: `/${route_prefix}docs/TransFromTable`,

            component: menuConfigMap.TransFromTable,
          },
          {
            id: '#1-4',
            title: 'useRequest',
            path: `/${route_prefix}docs/Demo_useRequest`,

            component: menuConfigMap.Demo_useRequest,
          },
        ],
      },
    ],
  },
};
